#define _CRT_SECURE_NO_WARNINGS
#include"HashBucket.h"

void TestHB()
{
	lbj::HashBucket<int, int> hb;
	int a[] = { 4,14,24,34,5,7,1,15,25,3 };
	for (auto& e : a)
	{
		hb.Insert(make_pair(e,e));
	}
	hb.Insert(make_pair(12, 12));
	hb.Insert(make_pair(11, 11));

	cout << hb.Find(4) << endl;
	hb.Erase(4);
	cout << hb.Find(4) << endl;

} 
int main()
{
	TestHB();
	return 0;
}